package mammuthus.docker.protocal

import mammuthus.protocal.DockerInstanceDetail

/**
 * 5/10/15 WilliamZhu(allwefantasy@gmail.com)
 */
case class CreateContainerRequest(hostName:String,name: String, image: String)

case class CreateContainerResponse(hostName:String,success:Boolean,id: String, name: String,message:String)

case class StartContainerRequest(hostName:String,nameOrId: String)

case class StartContainerResponse(hostName:String,success:Boolean,id: String, name: String,message:String)

case class StopContainerRequest(hostName:String,nameOrId: String)

case class StopContainerResponse(hostName:String,success:Boolean,id: String, name: String,message:String)

case class ListContainerRequest(hostName:String)

case class ListContainerResponse(hostName:String,instances:List[DockerInstanceDetail])

case class TimeOutResponse(msg:String)





